#ifndef DATAFILE_H_
#define DATAFILE_H_

#include "System\F2806x_Device.h"

struct SDataFile
{
	// States
	// LED Strips [0%...100%]
	float L1Intensity;
	float L2Intensity;
	float L3Intensity;
	float L4Intensity;
	
	// Power LEDs [0%...100%]
	float PWRLED1;
	float PWRLED2;
	
	// PWM Outs [0.5ms ... 2.5ms]
	float PWMOut1;
	float PWMOut2;
	float PWMOut3;
	float PWMOut4;
	float PWMOut5;
	float PWMOut6;
	
	long PWMCountDown;

	// Ord Outputs [true=1/false=0]
	float OO1;
	float OO2;
	float OO3;
	
	// Sensors
	float Voltage;
	float Current;
	float Power;
	float Sonar;
	float IRNear;
	float IRFar;
	
	// Status
	long Counter;
	float LoopTimeMS; // [ms]
	float LoopTimeMSMAX; // [ms]
	float64 MissionTime; // [s]
};

#endif /*DATAFILE_H_*/
